Skip to content

Fix fastloop app initialization error#17

Merged
luke-lombardi merged 2 commits into
mainfrom
cursor/fix-fastloop-app-initialization-error-claude-4.5-opus-high-thinking-4251
Nov 26, 2025
Merged

Fix fastloop app initialization error#17
luke-lombardi merged 2 commits into
mainfrom
cursor/fix-fastloop-app-initialization-error-claude-4.5-opus-high-thinking-4251

Conversation

@luke-lombardi
Copy link
Copy Markdown
Contributor

Fixes NoAppError when running FastLoop applications defined in external modules by improving application path inference and handling.

A previous change to infer_application_path caused it to incorrectly skip module introspection for FastLoop instances, leading to hypercorn failing to find the application. This PR updates infer_application_path to properly search sys.modules for the application instance and modifies the run() method to gracefully handle cases where no valid application path can be inferred, falling back to direct serving.


Open in Cursor Open in Web

Co-authored-by: luke <luke@smartshare.io>
@cursor
Copy link
Copy Markdown

cursor Bot commented Nov 26, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@luke-lombardi luke-lombardi merged commit 3ec2d17 into main Nov 26, 2025
1 of 2 checks passed
@luke-lombardi luke-lombardi deleted the cursor/fix-fastloop-app-initialization-error-claude-4.5-opus-high-thinking-4251 branch November 26, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants